package dao;

import java.util.List;

import entity.SoapuiProject;

public class SoapuiProjectDAO extends GenericDAO<SoapuiProject>{

	private static final long serialVersionUID = 1L;

	public SoapuiProjectDAO() {
		super(SoapuiProject.class);
	}
	
	public List<SoapuiProject> getProjectsByName(String nameOfProject) {
        return getList(SoapuiProject.class, "select t from SoapuiProject t where t.name like ?1", nameOfProject + "%");
    }
	
}
